/*
 * Copyright (c) 2022, tyustli
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2022-02-08     tyustli      first implementation
 */

#include <stdio.h>

int main(int argc, char **argv)
{
    char num1;
    short num2;
    int num3;
    long num4;
    float num5;
    double num6;

    printf("char size is %ld\r\n", sizeof(num1));
    printf("short size is %ld\r\n", sizeof(num2));
    printf("int size is %ld\r\n", sizeof(num3));
    printf("long size is %ld\r\n", sizeof(num4));
    printf("float size is %ld\r\n", sizeof(num5));
    printf("double size is %ld\r\n", sizeof(num6));

    return 0;
}
/**
 * 编译：make
 * 运行：./out
 * 结果：
 * char size is 1
 * short size is 2
 * int size is 4
 * long size is 8
 * float size is 4
 * double size is 8
 * 清除编译结果：make clean
 * 
*/
/******************** end of file **********************/
